-
Notifications
You must be signed in to change notification settings - Fork 130
[Refunds] Update networking layer to support multiple tax rates #14002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
Generated by 🚫 Danger |
7f1b829
to
0578165
Compare
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
0de75f6
to
fe84ddb
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #14002 +/- ##
=========================================
Coverage 38.39% 38.39%
- Complexity 9605 9606 +1
=========================================
Files 2125 2128 +3
Lines 117060 117134 +74
Branches 15030 15030
=========================================
+ Hits 44947 44979 +32
- Misses 67994 68036 +42
Partials 4119 4119 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Closes: WOOMOB-394
Note
I'll handle merging myself, I want to make sure that the PR doesn't violate any detekt rules in FluxC module (after this PR), but I prefer to handle this after approval given that there are other PRs that depend on this branch.
Description
This PR updates the refunding networking layer to match what the API expects about taxes: we pass an array of taxes with the the applied rate IDs. For more information check pe5sF9-4eA-p2
Steps to reproduce
There are no logic changes in this PR, for testing steps, please check the next PR #14064
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: